package com.eol.entity.po.content;

import io.swagger.annotations.ApiModel;

import javax.persistence.Id;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.joda.time.DateTime;

import java.io.Serializable;
import java.util.Date;


/**
 * 标签表
 *
 * @author liulinhui
 * @email 1249055292@qq.com
 * @date 2020-05-31 10:46:17
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel("标签表")
public class ZLabel implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "标签名字")
    @Id
    private String name;

    @ApiModelProperty(value = "标签类型 1:新闻")
    private Integer type;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

}
